package loan.calc.constant.dict;

import lombok.AllArgsConstructor;
import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;

import java.util.Arrays;

/**
 *
 * @author guo nan
 * @date 2018/12/13
 */
@Getter
@AllArgsConstructor
public enum LoanStatusEnum implements BaseDictEnum {

    NORMAL("正常"),
    GRACE("宽限期"),
    OVERDUE("逾期"),
    PRE_SETTLE("提前结清"),
    NORMAL_SETTLE("正常结清"),
    GRACE_SETTLE("宽限期结清"),
    OVERDUE_SETTLE("逾期结清"),
    REVERSE("已冲销")
    ;

    private final String value;
    private final String description;

    LoanStatusEnum(String description) {
        this.value = name();
        this.description = description;
    }

}
